Carbon


KCGetDefaultKeychain

Header: Keychain.h Carbon status: Under Evaluation

Obtains the default keychain.

OSStatus KCGetDefaultKeychain (
    KCRef *keychain
);
Parameter descriptions
keychain

On return, a pointer to default keychain reference.

function result

A result code. The result code errKCNoDefaultKeychain indicates that there is no default keychain.

DISCUSSION

You can determine the name of the default keychain by passing the returned keychain reference to the function KCGetKeychainName.

VERSION NOTES

Available beginning with Keychain Manager 1.0.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)